package com.kelp.codetoolkit.entity

/**
 * @author: liuyuebai
 * @date: 2024/8/2 15:41
 * @description:
 */
class TableInfo {

    /**
     * 表名
     */
    private var tableName: String? = null

    /**
     * 类名
     */
    private var className: String? = null

    /**
     * 注释
     */
    private var comment:String? = null

    /**
     * 注解
     */
    private var pkColumn:ColumnInfo? = null

    /**
     * 列
     */
    private var fullColumns:MutableList<ColumnInfo>? = null

    fun getClassName(): String? {
        return className
    }

    fun setClassName(className: String?) {
        this.className = className
    }

    fun getTableName(): String? {
        return tableName
    }
    fun setTableName(tableName: String?) {
        this.tableName = tableName
    }
    fun getComment(): String? {
        return comment
    }
    fun setComment(comment: String?) {
        this.comment = comment
    }
    fun getFullColumns():MutableList<ColumnInfo>?{
        return fullColumns
    }
    fun setFullColumns(fullColumns:MutableList<ColumnInfo>){
        this.fullColumns = fullColumns
    }

    fun getPkColumn():ColumnInfo?{
        return pkColumn
    }

    fun setPkColumn(pkColumn: ColumnInfo){
        this.pkColumn = pkColumn
    }

}